<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script src="./js/wxLogin.js"></script>

    <style>

        #warp {
            margin: 0 auto;
            width: 300px;
            height: 400px;
        }

    </style>
</head>
<body>

<div id="warp">

<div id="weixin">


</div>
    <a href="login.html">返回</a>

</div>
<script>
    var obj = new WxLogin({
        self_redirect:false,
        id:"weixin",
        appid: "wx3bdb1192c22883f3",
        scope: "snsapi_login",
        // redirect_uri: "http://note.java.itcast.cn/weixinlogin.do"
        redirect_uri: "http://note.java.itcast.cn/management/weixin"
    });
</script>

</body>
</html>